package com.zshy.base.monitor.domain.contract.enums;

import com.zshy.base.core.contract.enums.IEnum;
import com.zshy.base.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 企微消息类型
 *
 * @author zhouhengzhe
 */
@Getter
@AllArgsConstructor
public enum QiWeiMsgTypeEnum implements IEnum<String>, EnumValueResolver<QiWeiMsgTypeEnum, String> {

    TEXT("text", "文本"),
    IMAGE("image", "图片"),
    FILE("file", "文件"),
    NEWS("news", "图文"),
    MARKDOWN("markdown", "markdown"),
    VOICE("voice", "语音"),
    TEMPLATE_CARD("template_card","模板卡片");

    private final String code;
    private final String desc;
}
